<!doctype html>
<html>
  <head>
    <title>Push API: PushMessageData initialization and accessor behaviour.</title>
    <script src="../resources/testharness.js"></script>
    <script src="../resources/testharnessreport.js"></script>
    <script src="../serviceworker/resources/test-helpers.js"></script>
  </head>
  <body>
    <script>
      // Tests that the PushMessageData object exists, can be initialized using
      // a string or an ArrayBuffer(View) through the PushEvent and returns the
      // expected values through its various accessors.
      service_worker_test(
          'resources/pushmessagedata-worker.js',
          'PushMessageData initialization and accessor behaviour in a ServiceWorker.');
    </script>
  </body>
</html>